﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.WebService.Dto
{
    /// <summary>
    ///  商品信息列表
    /// </summary>
   public class ProductVo
    {
        public ProductVo() {
            this.Pictures = new List<ProductPictureVo>();
        }

        public int ProductId { get; set; }

        /// <summary>
        /// 商品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 显示名称 （前端显示的，带销售语的长名称）
        /// </summary>
        public string ShowName { get; set; }
        /// <summary>
        /// 卖点描述（商品名showName 下显示的红字描述）
        /// </summary>
        public string SellingPoint { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 原价：划线价
        /// </summary>
        public decimal OldPrice { get; set; }
        /// <summary>
        /// 实际销售价
        /// </summary>
        public decimal SalePrice { get; set; }

        /// <summary>
        ///  默认第一张图
        /// </summary>
        public string ImageUrl { get; set; }

        public List<ProductPictureVo> Pictures { get; set; }
    }
}
